package com.edu.whty.dao;

import com.edu.whty.dao.base.IBaseDao;
import com.edu.whty.entity.usertextbook.TbUserTextbookChapter;

import java.util.List;
import java.util.Map;

public interface TbUserTextbookChapterDao extends IBaseDao<TbUserTextbookChapter> {

	public List<TbUserTextbookChapter> loadUserTextBookChapter(Map<String, Object> param) throws Exception;

	public void deleteByIdList(List<String> list);

	/**
	 * 批量同步新增教材章节
	 * @param List
	 * @throws Exception
	 */
	void syncSaveUserTextBookChapterBatch(List<Map<String, Object>> list);

	/**
	 * 批量同步更新教材章节
	 * @param List
	 * @throws Exception
	 */
	void syncUpdateUserTextBookChapterBatch(List<Map<String, Object>> list);

	/**
	 * 批量同步删除教材章节
	 * @param List
	 * @throws Exception
	 */
	void syncDeleteUserTextBookChapterBatch(List<Map<String, Object>> list);
}
